package com.xaicode.locker.JavaSJMS.three.BehaviorMode.Mediator;

/**
 * 业务对象抽象类
 * @author Locker
 * 	  <br> 2017年5月6日 上午10:03:43
 * @version v1.0
 */
public abstract class User {

	private Mediator mediator;
	
	public Mediator getMediator(){  
        return mediator;  
    }  
      
	public User(){}
	
    public User(Mediator mediator) {  
        this.mediator = mediator;  
    }  
  
    public abstract void work();  
	
}
